#pragma once
#pragma once
#ifndef __HELLOWORLD_SCENE_H__
#define __HELLOWORLD_SCENE_H__

#include "cocos2d.h"
#include "Skill.h"

class SkillLearn : public cocos2d::Layer
{
public:
	// there's no 'id' in cpp, so we recommend returning the class instance pointer
	//static cocos2d::Scene* createScene();

	// Here's a difference. Method 'init' in cocos2d-x returns bool, instead of returning 'id' in cocos2d-iphone
	virtual bool init();
	void skwayreset(Ref * pSender);
	void sk16(Ref * pSender);
	void jinenglanuse(int a,Ref * pSender);
	void eventuse(cocos2d::Sprite * youbianditu, Ref * pSender);
	//void sk1(int ind, Ref * pSender);
	virtual ~SkillLearn(){};
	// implement the "static create()" method manually
	CREATE_FUNC(SkillLearn);
	void sk13(Ref * pSender);
	void sk14(Ref * pSender);
	void sk15(Ref * pSender);
	//void skillinfo1 (Ref *pSender);
	//void skillinfo2 (Ref *pSender);
	void sk11(Ref *pSender);
	void sk12(Ref *pSender);
	void lvuse(Ref *pSender);
	void dituuse(int a, cocos2d::Sprite *& b, cocos2d::Sprite *& c, Ref * pSender);
	cocos2d::Label *lv;
	cocos2d::Label *info;
	cocos2d::Sprite *youbianditu;
	cocos2d::Sprite *tuodongtubiao;
	cocos2d::Sprite *skill1;
	cocos2d::Sprite *skill2;
	cocos2d::Sprite *skill3;
	cocos2d::Sprite *jdt;
	//static string skway[3];// = { "skill1","skill2" ,"skill3" };
	//cocos2d::Sprite *youbianditu;
//	Sprite *image1;
	//cocos2d::Sprite *image;
	static int index ;
	//void dituuse(int a, cocos2d::Sprite* &b,Ref *pSender);

	void sklearn(Ref *pSender);

	void skreset(Ref * pSender);
	void showinfo(string a,Ref * pSender);
	//void jinduuse(int a,cocos2d::Sprite* &b, Ref * pSender);
/*virtual void touchBegan(Touch* touch, Event* event);
	virtual void touchMoved(Touch* touch, Event* event);
	virtual void oouchEnded(Touch* touch, Event* event);*/

};

#endif // __HELLOWORLD_SCENE_H__
